[LaTeX] How to remove \hyphenpenalty & \pretolerance influence on section/subsection headers

Posted by oleg-strikov on Stack Overflow See other posts from Stack Overflow or by oleg-strikov
Published on 2010-04-25T15:13:46Z Indexed on 2010/04/25 15:23 UTC
Read the original article Hit count: 461

Filed under:
|
|
|

Hi there,

In my latex document i've set \hyphenpenalty=15000 and \pretolerance=10000 to remove word hyphenation and make text bounds even.

But I can't disable this effect for section/subsection headers. All headers looks badly due to big spaces between words (image).

Are there any solution to disable \hyphenpenalty=15000 and \pretolerance=10000 effect for headers?

Thank you!

© Stack Overflow or respective owner

Related posts about latex

Related posts about miktex